﻿using Qianke.Common.EntityFramework;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MainFrame.Repository.Model
{
    /// <summary>
    /// 任务信息
    /// </summary>
    [Table(nameof(TaskInfo))]
    public class TaskInfo:Entity<long>
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public new long Id { set; get; }

        [MaxLength(32)]
        public string Name { set; get; }

        [MaxLength(74)]
        public string Code { set; get; }
    }
}
